速報APP / 教育 / Finite Automata

Finite Automata

價格:免費

更新日期:2015-11-24

檔案大小:11.9 MB

目前版本:1.1

版本需求:需要 iOS 8.4 或以上版本。與 iPhone、iPad 及 iPod touch 相容。

支援語言:英語

Finite Automata(圖1)-速報App

Finite Automata is not a game, it is intended to be used in a Computer Science course to help teach students how to design algorithms using finite automata.
The ideal setup is having the students design their automata by hand on a notebook and then transfer to the application to be able to test the automata.

Available commands:

states n


- creates n states from 0 to n-1


- state 0 is the initial state, always



add n


- adds a state n



final n


- toggles State n as a Final State


- multiple states may be Final



st1 event st2 


- transition from st1 to st2 for event


- st1 and st2 are integer numbers


- event is a String, no " necessary



clear


- remove all states and transitions



del state1


Finite Automata(圖2)-速報App

- deletes a state and all related 
transitions



del state1 event state2


- deletes the transition



help


- shows this help information



show


- shows the automaton



========= Example ==========


> states 3


> final 2


> 0 a 1


> 0 b 0


> 1 a 2


> 1 b 0


> 2 a 2


> 2 b 2



This automaton accepts inputs on 
{a, b}* that contains "aa" as part of 
the sequence.


==========================

支援平台:iPhone, iPad